package com.paas.form.entity;

import com.paas.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("form_view_resource")
@ApiModel(value="FormViewResource对象", description="")
public class FormViewResourceEntity extends BaseModel {
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "主键id")
	@TableId
	private String id;

	@ApiModelProperty(value = "视图表单id")
	@TableField("form_id")
	private String formId;

	@ApiModelProperty(value = "数据状态 1正常 0无效 反对的")
	@TableField("status")
	private String status;

	@ApiModelProperty(value = "修改人id")
	@TableField("modify_id")
	private String modifyId;

	@ApiModelProperty(value = "父Id")
	@TableField("parent_id")
	private String parentId;

	@ApiModelProperty(value = "资源编码")
	@TableField("resource_code")
	private String resourceCode;

	@ApiModelProperty(value = "资源名称")
	@TableField("resource_name")
	private String resourceName;

	@ApiModelProperty(value = "资源类型")
	@TableField("resource_type")
	private String resourceType;

	@ApiModelProperty(value = "是否最末级")
	@TableField("is_last")
	private String isLast;


	@ApiModelProperty(value = "资源排序")
	@TableField("resource_sort")
	private String resourceSort;

	@ApiModelProperty(value = "资源图标")
	@TableField("resource_icon")
	private String resourceIcon;

	@ApiModelProperty(value = "发布资源目录")
	@TableField("resource_id")
	private String resourceId;

	@ApiModelProperty(value = "访问地址id")
	@TableField("host_id")
	private String hostId;

	@ApiModelProperty(value = "资源描述")
	@TableField("resource_describe")
	private String resourceDescribe;

	@ApiModelProperty(value = "挂载资源目录名称")
	@TableField(exist = false)
	private String manuName;


}